package com.cloud.common.log.enums;

import lombok.Getter;

@Getter
public enum OperateTypeEnum{

    BLANK("",""),
    QUERY("query","查询"),
    INSERT("insert","插入"),
    ADD("add","新增"),
    UPDATE("update","修改"),
    DELETE("delete","删除"),
    ENABLE("enable","启用/禁用"),
    LOGIN("login","登录"),
    LOGOUT("logout","退出登录"),
    EXPORT("export","导出")
    ;

    private String code;
    private String msg;

    OperateTypeEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
